-
Home
-
Classified Listing – AI-Powered Classified ads & Business Directory Plugin
-
5.2.2 (latest)
-
Code
-
Classes
- BusinessHoursController
| Total Complexity |
166 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
581 |
| Lines of code |
409 |
| Logical lines of code |
229 |
| Comment lines |
96 |
| Methods |
20 |
| Properties |
2 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize_business_hours() |
C |
37 |
32 |
65 |
| get_business_hours() |
B |
42 |
23 |
47 |
| save_business_hours() |
B |
47 |
18 |
33 |
| get_old_business_hours() |
A |
50 |
13 |
26 |
| update_business_hours_at_save_or_update() |
A |
54 |
12 |
19 |
| display_business_hours() |
A |
43 |
10 |
47 |
| openStatus() |
A |
54 |
10 |
19 |
| init() |
A |
49 |
9 |
26 |
| openToday() |
S |
59 |
6 |
14 |
| isOpen() |
S |
61 |
5 |
11 |
| business_hours_meta_box() |
S |
63 |
5 |
9 |
| business_hours_form() |
S |
64 |
5 |
8 |
| openPeriod() |
S |
65 |
4 |
9 |
| enqueue_admin_script() |
S |
62 |
3 |
11 |
| register_script() |
S |
50 |
1 |
31 |
| hasOpenHours() |
S |
67 |
3 |
8 |
| isOpenAllDayLong() |
S |
70 |
3 |
6 |
| enqueue_script() |
S |
72 |
2 |
6 |
| add_business_hours_meta_box() |
S |
65 |
1 |
10 |
| add_meta_box_classes() |
S |
76 |
1 |
4 |